<?php /* Smarty version Smarty-3.1-DEV, created on 2013-11-02 20:02:16
         compiled from "/home/valerio/www/vfw/app/view/mobile/AppDefault/DefaultIndex.html" */ ?>
<?php /*%%SmartyHeaderCode:60985029852754c38250f74-98871615%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '470a1c8f9c68a1f4ae8ca7e31e69458c3950c30e' => 
    array (
      0 => '/home/valerio/www/vfw/app/view/mobile/AppDefault/DefaultIndex.html',
      1 => 1383418797,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '60985029852754c38250f74-98871615',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'statoAuth' => 0,
    'logged' => 0,
    'Auth' => 0,
    'nomeutente' => 0,
    'username' => 0,
    'password' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1-DEV',
  'unifunc' => 'content_52754c382f43f7_79257525',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_52754c382f43f7_79257525')) {function content_52754c382f43f7_79257525($_smarty_tpl) {?><?php $_smarty_tpl->tpl_vars['statoAuth'] = new Smarty_variable((($tmp = @$_smarty_tpl->tpl_vars['statoAuth']->value)===null||$tmp==='' ? 'non pervenuto' : $tmp), null, 0);?>
<?php $_smarty_tpl->tpl_vars['logged'] = new Smarty_variable((($tmp = @$_smarty_tpl->tpl_vars['logged']->value)===null||$tmp==='' ? false : $tmp), null, 0);?>

<form method="post" action="index.php?ctrl=AppDefault">

<fieldset><legend>Stato Auth</legend>
<?php echo $_smarty_tpl->tpl_vars['statoAuth']->value;?>

</fieldset>

<fieldset><legend>Dati Input Test</legend>

Template Mobile
<?php if ($_smarty_tpl->tpl_vars['Auth']->value['logged']){?>
ciao <?php echo $_smarty_tpl->tpl_vars['nomeutente']->value;?>

<?php }else{ ?>

<table>
<tr><td>Username</td><td> <input type="text" name="username" value="<?php echo $_smarty_tpl->tpl_vars['username']->value;?>
"/> </td></tr>
<tr><td>Password</td><td><input type="text" name="password" value="<?php echo $_smarty_tpl->tpl_vars['password']->value;?>
"/></td></tr>

</table>
<button name=act value="login">Login</button>
<button name=act value="registrati">Registrati</button>

<?php }?>
<button name=act value="interrogazione">Ricerca</button>
</fieldset>


</form>


<?php }} ?>